Bastien Nocera [Thu, 10 Sep 2009 09:18:29 +0000 (10:18 +0100)]
Keysyms docs update
Mention XK_ prefixes as well.
Bastien Nocera [Thu, 10 Sep 2009 09:15:10 +0000 (10:15 +0100)]
Avoid duplicate keysyms, ignore mispelled one
GDK_Select and GDK_Clear were duplicated, GDK_Calculater is
only useful for compulsive misspellers.
Sweta Kothari [Thu, 10 Sep 2009 08:50:08 +0000 (14:20 +0530)]
Updated Gujarati Translations
Sweta Kothari [Thu, 10 Sep 2009 07:27:02 +0000 (12:57 +0530)]
Updated Gujarati Translations
Kristian Rietveld [Wed, 9 Sep 2009 07:43:30 +0000 (09:43 +0200)]
Unbreak GtkComboBox::button-sensitivity
Fixed the button-sensivity patch done to GtkComboBox to account for
changes in appearance (changes to the appears-as-list style property).
Also, in list-mode, the event box that has been created below the cell
view also needs to have its sensitivity updated.
Bastien Nocera [Wed, 9 Sep 2009 17:01:43 +0000 (18:01 +0100)]
Bug 594668 - Add new Xorg keysyms
Add support for XF86keysym.h to gdkkeysyms-update.pl and
update the generated gdkkeysyms.h file for the latest sources.
Matthias Clasen [Wed, 9 Sep 2009 15:52:07 +0000 (11:52 -0400)]
Accept "true" as a true value in printer settings
Some of the settings come directly from cups config files, which
have no case sensitivity requirement, so we should not be more
picky. Bug 594652.
Matthias Clasen [Wed, 9 Sep 2009 13:00:15 +0000 (09:00 -0400)]
Deprecate gdk_event_get_graphics exposes
This function is only used in deprecated, broken widgets. Also,
fix up some of its implmentation that clang was complaining about.
Matthias Clasen [Wed, 9 Sep 2009 04:53:32 +0000 (00:53 -0400)]
Remove a dead assignment
Pointed out by clang.
Matthias Clasen [Wed, 9 Sep 2009 04:52:01 +0000 (00:52 -0400)]
Remove a dead assignment
Pointed out by clang.
Matthias Clasen [Wed, 9 Sep 2009 04:01:23 +0000 (00:01 -0400)]
Fix a typo
Matthias Clasen [Tue, 8 Sep 2009 23:39:52 +0000 (19:39 -0400)]
Make the custom paper size dialog not block the main dialog
This was causing problems in gedit, which uses window groups.
Bug 593678.
Kristian Rietveld [Tue, 8 Sep 2009 13:51:10 +0000 (15:51 +0200)]
Don't access the parent level, there might not be one
Use the index instead, that can be -1. A unit test has been added as
well.
Alexander Larsson [Tue, 8 Sep 2009 09:48:20 +0000 (11:48 +0200)]
Fix handling of window cursor wrt grabs
Even for grabs we need to recurse up to look for what cursor to use.
Paolo Borelli [Mon, 7 Sep 2009 09:16:33 +0000 (11:16 +0200)]
One more unit test
Paolo Borelli [Sun, 6 Sep 2009 14:09:17 +0000 (16:09 +0200)]
Simple expander unit test
Kristian Rietveld [Sun, 6 Sep 2009 18:23:05 +0000 (20:23 +0200)]
Avoid recursive calls to gtk_tree_view_top_row_to_dy()
Commit
3f306a40422e367ef03b9e6f6c80dec9fc932602 made it possible for
gtk_tree_view_top_row_to_dy() to be called recursively. (In a different
way than was already guarded for). This caused a single test case in
the scrolling test suite to fail. We now also guard for recursive calls at
the beginning of gtk_tree_view_top_row_to_dy().
Tomasz Dominikowski [Sun, 6 Sep 2009 12:29:50 +0000 (14:29 +0200)]
Updated Polish translation
Kristian Rietveld [Sun, 6 Sep 2009 11:35:37 +0000 (13:35 +0200)]
Bug 346800 - Rework sort/filter models to use indices to parents...
Rework the sort and filter models to store their reference to the parent
element as an array index instead of a pointer to an array element.
These pointers could become invalid with any array modification, whereas
indices do not.
Takayuki KUSANO [Sun, 6 Sep 2009 09:47:08 +0000 (18:47 +0900)]
Update Japanese translation
Matthias Clasen [Sun, 6 Sep 2009 06:42:39 +0000 (02:42 -0400)]
Correct the initial event mask of the root window
This fixes bug 588455 where the panel stopped responding to Alt-F2 when
setting a transparent background.
Kristian Rietveld [Sat, 5 Sep 2009 14:59:17 +0000 (16:59 +0200)]
Fix compiler warnings
Kristian Rietveld [Sat, 5 Sep 2009 14:58:12 +0000 (16:58 +0200)]
Fix memleak in filter model unit test
(There is one larger memleak left here, but this is a side effect of the
test case for bug 346800).
Kristian Rietveld [Sat, 5 Sep 2009 14:47:35 +0000 (16:47 +0200)]
List work left to do in the filter model unit test
Kristian Rietveld [Sat, 5 Sep 2009 14:41:09 +0000 (16:41 +0200)]
Emit row-has-child-toggled when a first node becomes visible in a level
If we have a level with zero visible nodes and the first node becomes
visible in that level, then parent has just become a "real" parent node.
In such a case we need to emit row-has-child-toggled. This only applies
to non-root levels that have a parent. This problem was also found when
writing the unit test, the respective cases in the unit test have been
corrected.
This fixes bugs:
Bug 372010 - Filtering not working properly
Bug 525965 - Filtered and sorted GtkTreeView is missing rows
Kristian Rietveld [Sat, 5 Sep 2009 14:12:48 +0000 (16:12 +0200)]
When the filter removes a node, it needs to remove its children too
In gtk_tree_model_filter_remove_node(), we check if the given elt has
children. If so, this level will be freed. This action is recursive.
Kristian Rietveld [Sat, 5 Sep 2009 13:57:25 +0000 (15:57 +0200)]
Have the unit test check if the filter model emits the right signals
Kristian Rietveld [Fri, 4 Sep 2009 07:28:21 +0000 (09:28 +0200)]
Properly handle cases where an ancestor node is invisible
Kristian Rietveld [Wed, 2 Sep 2009 10:47:53 +0000 (12:47 +0200)]
Extend filter model unit test with row-has-child-toggled testers
Kristian Rietveld [Wed, 2 Sep 2009 10:45:41 +0000 (12:45 +0200)]
Correct handling of row-has-child-toggled signal
When a filter function is used that determines the visibility property
of a node using whether or it it has children, the state of this node
very likely changes when the filter model receives a
row-has-child-toggled signal. Therefore, we need to handle state
changes in the row-has-child-toggled handler.
Kristian Rietveld [Tue, 1 Sep 2009 16:06:56 +0000 (18:06 +0200)]
Remove unused variable
Kristian Rietveld [Tue, 1 Sep 2009 16:05:46 +0000 (18:05 +0200)]
More virtual root unit tests
Kristian Rietveld [Tue, 1 Sep 2009 15:51:50 +0000 (17:51 +0200)]
Add a rather specially crafted test case
Kristian Rietveld [Tue, 1 Sep 2009 15:51:19 +0000 (17:51 +0200)]
Marking nodes invisible after pulling in the root level is wrong
Kristian Rietveld [Tue, 1 Sep 2009 15:49:02 +0000 (17:49 +0200)]
Do not emit has-child-toggled when a root level node is removed
Kristian Rietveld [Tue, 1 Sep 2009 14:45:39 +0000 (16:45 +0200)]
Correct unfiltered test cases
Kristian Rietveld [Tue, 1 Sep 2009 14:37:57 +0000 (16:37 +0200)]
Check for successfull iterator retrieval
Kristian Rietveld [Tue, 1 Sep 2009 14:19:30 +0000 (16:19 +0200)]
Refilter is required after setting visible column
Kristian Rietveld [Tue, 1 Sep 2009 14:15:08 +0000 (16:15 +0200)]
Correct /FilterModel/empty/vroot-show-nodes test case
Kristian Rietveld [Tue, 1 Sep 2009 14:10:05 +0000 (16:10 +0200)]
Only emit row-inserted if all ancestors are visible
Kristian Rietveld [Tue, 1 Sep 2009 12:50:32 +0000 (14:50 +0200)]
Generalize fixture setup code
Kristian Rietveld [Tue, 1 Sep 2009 12:46:11 +0000 (14:46 +0200)]
Make a start with virtual root unit tests
Kristian Rietveld [Tue, 1 Sep 2009 11:54:35 +0000 (13:54 +0200)]
Add test cases for bugs 464173 and 529287
Kristian Rietveld [Tue, 1 Sep 2009 09:14:40 +0000 (11:14 +0200)]
Add unit test for bug 540201
Kristian Rietveld [Tue, 1 Sep 2009 07:39:11 +0000 (09:39 +0200)]
Add a helper for inserting paths in the test tree store
Kristian Rietveld [Tue, 1 Sep 2009 07:17:02 +0000 (09:17 +0200)]
Start a testsuite for GtkTreeModelFilter
Matthias Clasen [Sat, 5 Sep 2009 05:46:39 +0000 (01:46 -0400)]
Fix fallout from automake version bump
Matthias Clasen [Sat, 5 Sep 2009 04:36:49 +0000 (00:36 -0400)]
Bump version
Matthias Clasen [Sat, 5 Sep 2009 04:35:08 +0000 (00:35 -0400)]
2.17.11
Matthias Clasen [Sat, 5 Sep 2009 03:27:37 +0000 (23:27 -0400)]
Fix a typo
Matthias Clasen [Sat, 5 Sep 2009 03:00:27 +0000 (23:00 -0400)]
Fix the build
Matthias Clasen [Sat, 5 Sep 2009 02:53:03 +0000 (22:53 -0400)]
Documentation additions
Matthias Clasen [Sat, 5 Sep 2009 02:47:59 +0000 (22:47 -0400)]
Updates
Matthias Clasen [Sat, 5 Sep 2009 02:20:28 +0000 (22:20 -0400)]
Make gtk_combo_box_entry_set_text_column more forgiving
The assertions in there were unnecessarily restrictive. This has
been reported in bug 564160.
Matthias Clasen [Sat, 5 Sep 2009 00:34:09 +0000 (20:34 -0400)]
Don't forget to set the client window on the slave
Matthias Clasen [Sat, 5 Sep 2009 00:22:43 +0000 (20:22 -0400)]
Make window manager tracking work better
We were getting the new wm name with a 15 second delay, due to
some race. Reported in bug 593644.
Matthias Clasen [Fri, 4 Sep 2009 22:22:30 +0000 (18:22 -0400)]
Avoid a segfault if license is NULL
The license field was introduced later on, so some out-of-tree loaders
may not set it. And Solaris printf() doesn't take NULL for a string...
Bug 594178.
Matthias Clasen [Fri, 4 Sep 2009 22:09:44 +0000 (18:09 -0400)]
Rework the way IM contexts are set
Add a function to obtain the effective context id, and reset the slave
only when the effective context id is different from the current context
id, when setting a client window and on focus in. This might fix
bug 593868 and bug 567124.
Matthias Clasen [Fri, 4 Sep 2009 19:13:09 +0000 (15:13 -0400)]
Try again to allow newer automake
Matthias Clasen [Fri, 4 Sep 2009 16:05:10 +0000 (12:05 -0400)]
Revert "Add AM_PROG_CC_C_O"
This reverts commit
1606b822321fb4cd370a2cd2e117481e125722ee.
Matthias Clasen [Fri, 4 Sep 2009 16:04:51 +0000 (12:04 -0400)]
Revert "Accept automake 1.10 and 1.11"
This reverts commit
76dab7b3b745c285f814311b071fefc8244d5245.
Alexander Larsson [Fri, 4 Sep 2009 15:53:27 +0000 (17:53 +0200)]
Deprecate GDK_WINDOW_OBJECT and GdkWindowObject
Alexander Larsson [Fri, 4 Sep 2009 15:52:46 +0000 (17:52 +0200)]
Add function accessors for x11 window/pixmap impl
Alexander Larsson [Fri, 4 Sep 2009 15:50:42 +0000 (17:50 +0200)]
Make public GDK_WINDOW_TYPE and GDK_WINDOW_DESTROYED use functions calls
Alexander Larsson [Fri, 4 Sep 2009 15:49:57 +0000 (17:49 +0200)]
Add gdk_window_is_destroyed
Alexander Larsson [Fri, 4 Sep 2009 15:48:49 +0000 (17:48 +0200)]
Move _gdk_window_event_parent_of to gdkinternals.h
gdkprivate.h is in installed file and this function does not
need to be exported.
Matthias Clasen [Fri, 4 Sep 2009 15:52:55 +0000 (11:52 -0400)]
Accept automake 1.10 and 1.11
This was tested to work in bug 588788.
Matthias Clasen [Fri, 4 Sep 2009 15:51:50 +0000 (11:51 -0400)]
Add AM_PROG_CC_C_O
Kristian Rietveld [Fri, 4 Sep 2009 15:40:12 +0000 (17:40 +0200)]
Protect gtk_text_view_scroll_mark_onscreen() from using invalid marks
Suggested by Paolo Borelli.
Kristian Rietveld [Fri, 4 Sep 2009 14:56:05 +0000 (16:56 +0200)]
Recalculate heights when a (new) separator func is set on GtkTreeView
Kristian Rietveld [Fri, 4 Sep 2009 14:38:04 +0000 (16:38 +0200)]
Move mark check to gtk_text_view_scroll_to_mark()
Also use a different means to check that the given mark is in the text
view's buffer. This will also play nice with anonymous and NULL marks.
Suggested by Paolo Borelli.
Alexander Larsson [Fri, 4 Sep 2009 14:01:35 +0000 (16:01 +0200)]
Ensure clip region valid before using it for emulating graphics exposures
If there is a drawable clip on it we don't want to use that.
Alexander Larsson [Fri, 4 Sep 2009 13:59:22 +0000 (15:59 +0200)]
Ensure gc clip region valid in _gdk_gc_update_context
There might be an old drawable clip on it, if so remove it.
Michael Natterer [Fri, 4 Sep 2009 13:18:24 +0000 (15:18 +0200)]
gtk_widget_set_property(): use accessors instead of setting flags
Use the newly added accessors to set the "can-focus", "can-default"
and "receives-default" properties.
Michael Natterer [Fri, 4 Sep 2009 12:54:13 +0000 (14:54 +0200)]
gtk_widget_set_property(): use gtk_widget_set_visible()
Use the new API instead of show() and hide().
Michael Natterer [Fri, 4 Sep 2009 12:50:35 +0000 (14:50 +0200)]
Bug 69872 - GTK_WIDGET_SET_FLAGS should be deprecated
Add gtk_widget_set_receives_default() and
gtk_widget_get_receives_default() as accessors for
GTK_RECEIVES_DEFAULT.
Kristian Rietveld [Fri, 4 Sep 2009 11:41:17 +0000 (13:41 +0200)]
Improve unsetting old buffer in gtk_text_view_set_buffer()
When unsetting the old buffer always set the buffer on the layout to
NULL. More importantly, clear the pending scroll. (The scroll is
handled in an idle, when not cleared an idle handler might touch the
layout later on, possibly corrupting the BTree). Unref the buffer after
removing the selection from the clipboard, not before. Patch merged
from maemo-gtk.
Kristian Rietveld [Fri, 4 Sep 2009 11:34:56 +0000 (13:34 +0200)]
Fail to scroll if the given mark is not in text view's current buffer
In gtk_text_view_queue_scroll() we need to verify if the given mark
exists in the text view's current buffer. When not done, this can
result in corruption of the BTree data structure. Patch merged from
maemo-gtk.
Kristian Rietveld [Fri, 4 Sep 2009 11:30:48 +0000 (13:30 +0200)]
Update IM spot location before running _validate_onscreen()
Updating the IM spot location in gtk_text_view_value_changed() might
invalidate the layout, so we need to make sure that we update it before
validating the layout again. Otherwise, the layout will be invalidated
right after validating it (possibly resulting in a failed
onscreen_validated assertion). Patch merged from maemo-gtk.
Kristian Rietveld [Fri, 4 Sep 2009 11:21:26 +0000 (13:21 +0200)]
Make toggle cell renderer follow insensitive state of widget
Likewise to other cell renderers, GtkCellRendererToggle now properly
follows the insensitive state of the widget requesting rendering. It
does this by checking the state of the widget pointer, not by using
GtkCellRendererFlags (there exists an insensitive flags). Later on, I
think we should move to using GtkCellRendererFlags and not the state of
the widget requesting rendering. Patch merged from maemo-gtk.
Kristian Rietveld [Fri, 4 Sep 2009 11:11:19 +0000 (13:11 +0200)]
Propagate insensitive state to cell renderers in GtkCellView
If the cell view is insensitive, it needs to properly propagate this
insensitive state to the cell renderers using cell renderer flags.
Merged from maemo-gtk.
Kristian Rietveld [Fri, 4 Sep 2009 09:06:11 +0000 (11:06 +0200)]
Have tree view process exposes after adjustments have been updated
This was removed long ago by the patch in bug 101235. On a hindsight,
all other scrollable widgets are processing exposes at this point, which
completely makes sense to me, so I am putting it back.
Alexander Larsson [Fri, 4 Sep 2009 11:14:25 +0000 (13:14 +0200)]
Correct the antiexposure vs implicit paint flush race
The check for a possible implicit paint flush before queueing an
antiexposure was wrong. An implicit flush doesn't actually NULL
the implicit paint, se we have add a flag to explicitly track if
it is flushed.
Alexander Larsson [Fri, 4 Sep 2009 11:10:35 +0000 (13:10 +0200)]
Don't access region when it might be freed
Passing region into _gdk_gc_set_clip_region_internal takes ownership,
so don't use it after that. We can just as well just move the usage
above the call.
Alexander Larsson [Fri, 4 Sep 2009 09:08:46 +0000 (11:08 +0200)]
Fix warnings in gdk_window_restack
Christian Dywan [Thu, 3 Sep 2009 09:30:12 +0000 (11:30 +0200)]
Bug 584638 - Build of gtkupdateiconcache without NLS breaks
Wrap textdomain calls in updateiconcache.c in NLS conditionals.
Matthias Clasen [Thu, 3 Sep 2009 02:50:05 +0000 (22:50 -0400)]
Fix the return type of gdk_selection_property_get
It returns the length of the property, not a boolean. Reported
in bug 593788.
Matthias Clasen [Thu, 3 Sep 2009 02:14:47 +0000 (22:14 -0400)]
Add a missing include
This was reported in bug 593606.
Matthias Clasen [Thu, 3 Sep 2009 02:11:28 +0000 (22:11 -0400)]
Remove sincos use
It turns out to be not worth the portability pain. Bug 593877
Matthias Clasen [Thu, 3 Sep 2009 01:39:36 +0000 (21:39 -0400)]
Fix a merge conflict
Matthias Clasen [Tue, 1 Sep 2009 13:25:18 +0000 (09:25 -0400)]
Bump version
Matthias Clasen [Tue, 1 Sep 2009 13:23:08 +0000 (09:23 -0400)]
2.17.10
Gabor Kelemen [Thu, 3 Sep 2009 00:48:08 +0000 (02:48 +0200)]
Hungarian translation updated
Gabor Kelemen [Wed, 2 Sep 2009 22:08:59 +0000 (00:08 +0200)]
Hungarian translation updated
Alexander Larsson [Wed, 2 Sep 2009 21:39:57 +0000 (23:39 +0200)]
Add test for gdk_window_restack
Alexander Larsson [Wed, 2 Sep 2009 21:38:55 +0000 (23:38 +0200)]
Add gdk_window_restack
This lets you restack a window above or below a specified sibling.
At least eclipse wants this functionallity.
Alexander Larsson [Tue, 1 Sep 2009 15:05:50 +0000 (17:05 +0200)]
Add gdk_cairo_reset_clip
This is required to get back the original drawable clip due to
non-native windows on a cairo_t.
Paolo Borelli [Mon, 3 Aug 2009 19:39:34 +0000 (21:39 +0200)]
Move timer removal in dispose
Move removal of timer function in dispose to prevent potentially running
them on a diposed-but-not-finalized tooltip
Yaron Shahrabani [Tue, 1 Sep 2009 13:17:13 +0000 (16:17 +0300)]
Updated Hebrew translation
Kjartan Maraas [Tue, 1 Sep 2009 08:49:44 +0000 (10:49 +0200)]
Update Norwegian bokmål translation.